package com.baidu.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
@Data
@TableName("wyc_repayment")
public class WycRepayment implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 还款记录id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 还款用户id
     */
    private Integer uid;

    /**
     * 还款时间
     */
    private Date createTime;

    /**
     * 还款本金
     */
    private Double principal;

    /**
     * 还款方式：1.提前还款2.按时3.逾期4.最低
     */
    private Integer type;

    /**
     * 还款利息
     */
    private Double interest;

    /**
     * 剩余期数
     */
    private Integer periods;


}
